//
//  FriendsModel.m
//  QQGroup
//
//  Created by cocoazxj@163.com on 15/3/31.
//  Copyright (c) 2015年 handcool. All rights reserved.
//

#import "FriendsModel.h"

@implementation FriendsModel
- (instancetype)initWithDict:(NSDictionary *)dict
{
    if(self = [super init])
    {
        self.icon = dict[@"icon"];
        self.intro = dict[@"intro"];
        self.name = dict[@"name"];
        self.vip = [dict[@"vip"] intValue];
    }
    return self;
}

+ (instancetype)friendsModel:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}
@end
